//
//  IntroTableViewCell.h
//  悦读
//
//  Created by dllo on 15/5/22.
//  Copyright (c) 2015年 贾建兴. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol IntroTableViewCellDelegate <NSObject>

// 定义协议

- (void)toRead;

@end

@interface IntroTableViewCell : UITableViewCell
@property (nonatomic, retain) UIImageView *showImage;
@property (nonatomic, retain) UILabel *nameLabel;
@property (nonatomic, retain) UILabel *typeLabel;
@property (nonatomic, retain) UILabel *authorLabel;
@property (nonatomic, retain) UIButton *readButton;
@property (nonatomic, retain) UIButton *voiceButton;

// 传递bookid的属性
@property(nonatomic, copy)NSString  *bookId;
@property (nonatomic, assign) id<IntroTableViewCellDelegate>delegate;

- (void)getDataWithDic:(NSDictionary *)dic array:(NSArray *)array;
@end
